@extends('home.layout')

@section('topbanner')
@endsection

@section('content')
    <div class="m-tab">
        <div class="m-title"><a href=""><h3>{{ get_value($pCategoryDetail, 'title', '') }}&gt;&gt;{{ $categoryDetail->title }}</h3></a>
            <div class="btn">
            </div>
        </div>

        <div class="m-context">
            <!-- p class="title f-tac" >关于选择重庆统景温泉风景区提档升级项目溶洞改造项目船只打造单位的公告</p -->
            <h3 class="head">{{ $detail->title }}</h3>
            <div class="content">
                <!-- div class="f-tac"><img src="images/sim.jpg" width="1002" alt="" />
                </div -->
                <div class="mt30">
                    {!! $detail->{$documentType}->content  !!}
                </div>
            </div>
        </div>
    </div>
@endsection

@section('style')
    @endsection

@section('script')
    <script>
        $(function(){
            $('.m-topbanner,.m-pic-change').height($(window).height()-130);
            $(window).resize(function(){
                $('.m-topbanner,.m-pic-change').height($(window).height()-130);
            })
            jQuery('#slide').slide({titOnClassName:'z-cur',vis:1,mainCell:'.m-showpic',autoPlay:true,effect:"left",autoPage:true,titCell:".hd ul"});

            $("#nav").stick_in_parent({
                parent: "body",
                spacer: ".m-nav"
            });
        })
    </script>
@endsection